/*
 * Copyright (c) 2015 www.smarthome.com All rights reserved.
 * 本软件源代码版权归----所有,未经许可不得任意复制与传播.
 */
package com.smarthome.base.service;

import java.util.List;

import com.smarthome.domain.bean.ShPropertyFee;
import com.smarthome.domain.vo.boss.DataGrid;
import com.smarthome.domain.vo.boss.PageHelper;
import com.smarthome.base.service.base.BaseService;

/**
 * ShPropertyFeeService接口
 * 
 * @author KongXiangyu
 * @since 2015-09-07
 */
public interface ShPropertyFeeService extends BaseService<ShPropertyFee, Long> {

	/**
	 * 
	 * @param page
	 * @param numId
	 *            门牌号
	 * @return
	 * @author Administrator hgj
	 */
	DataGrid queryShPropertyFees(PageHelper page, Long numId);

	/**
	 * 根据门牌号和月份查询物业费 注：setMonth放入查询对象中
	 * 
	 * @param fee
	 * @return
	 */
	List<ShPropertyFee> getByDoorIdAndYear(ShPropertyFee fee);

	/**
	 * 根据门牌号ID和月份起始获取物业费记录
	 * 
	 * @param fee
	 * @return
	 */
	List<ShPropertyFee> getByDoorIdAndMonth(ShPropertyFee fee);
	
	/**
	 * 
	* @Title: queryFeesGroupByDoor 
	* @Description: 根据条件以门牌分组获取物业费之和的数据列表 
	* @param propertyFee
	* @param page
	* @return
	* DataGrid
	* @throws 
	* @author cyj
	 */
	DataGrid queryFeesGroupByDoor(ShPropertyFee propertyFee, PageHelper page);

	
	/**
	 * 
	* getAmountSumByResidence
	* @Title: getAmountSumByResidence
	* @Description: 根据条件获取小区物业费汇总
	* @param propertyFee
	* @return
	* Long
	* @throws
	* @author cyj
	* @date 2015年11月18日 上午11:59:53
	 */
	Long getAmountSumByResidence(ShPropertyFee propertyFee);
}